package cn.wolfcode.luowowo.search.repository;

import cn.wolfcode.luowowo.search.template.TravelTemplate;
import cn.wolfcode.luowowo.search.template.UserInfoTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ITravelSearchRepository extends ElasticsearchRepository<TravelTemplate,Long> {
    List<TravelTemplate> findByDestId(Long id);
}
